/**
 * BrandBigData.com Inc.
 * Copyright (c) 2016 All Rights Reserved.
 */
package com.qibao.toolkit.protocol.facade;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author xumin
 * @version $Id:Request.java, v0.1 2017/6/14 8:42 xumin
 */
public class Request implements Serializable {
    private static final long serialVersionUID = 360394822088630836L;

    private String url;

    private Map<String, String> headers = new HashMap<>();

    private Map<String, String> queryParameters = new HashMap<>();

    private String requestBody;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }

    public Map<String, String> getQueryParameters() {
        return queryParameters;
    }

    public void setQueryParameters(Map<String, String> queryParameters) {
        this.queryParameters = queryParameters;
    }

    public String getRequestBody() {
        return requestBody;
    }

    public void setRequestBody(String requestBody) {
        this.requestBody = requestBody;
    }

    @Override
    public String toString() {
        return "Request{" + "url='" + url + '\'' + ", headers=" + headers + ", queryParameters=" + queryParameters + ", requestBody='" + requestBody + '\'' + '}';
    }
}
